import request from '@/utils/request'
// 获取工厂数据
export function fetchFactoryData() {
  return request({
    url: '/tm/bas/plant/tree/detail',
    method: 'get'
  })
}

// 获取路由点间数据
export function fetchVinData() {
  return request({
    url: '/production/monitor/line',
    method: 'get'
  })
}

// 获取物料号 /production/monitor/line/between
export function fetchMaterialData(type, column, index) {
  return request({
    url: '/production/monitor/line/'+ type + '/' + column + '/' + index,
    method: 'get'
  })
}
